<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script language="javascript">
function myjsfunction(){
	alert('你好，这是我开发的功能——hhh666=嘻嘻嘻');
}</script>
</head>
<body>
<input name="button" value="我定义的JS函数"
type="button" onClick="myjsfunction()">
</body>
</html>